export default [
    {
        path: '/home',
        name: 'home',
        meta: { title: '首页', icon: 'icon-shouye' },
        // route level code-splitting
        // this generates a separate chunk (about.[hash].js) for this route
        // which is lazy-loaded when the route is visited.
        component: () => import(/* webpackChunkName: "about" */ '@/views/Home/index')
    },
    {
        path: '/category',
        name: 'category',
        meta: { title: '分类', icon: 'icon-shouye' },
        component: () => import('@/views/Category/index')
    },
    {
        path: '/tag',
        name: 'tag',
        meta: { title: '标签', icon: 'icon-shouye' },
        component: () => import('@/views/Tag/index')
    },
    {
        path: '/archives',
        name: 'archives',
        meta: { title: '归档', icon: 'icon-guidang' },
        component: () => import('@/views/Archives/index')
    },
    {
        path: '/search',
        name: 'search',
        meta: { title: '搜索', icon: 'icon-sousuo' },
        component: () => import('@/views/Search/index')
    },
    {
        path: '/article/:articleId',
        name: 'article',
        meta: { title: '文章', icon: 'icon-sousuo' },
        component: () => import('@/views/Article/index'),
        hidden: true,
    },
    {
        path: '/articleList',
        name: 'articleList',
        meta: { title: '', icon: 'icon-sousuo' },
        component: () => import('@/views/ArticleList/index'),
        hidden: true,
    }
]
